#include "State.h"
#include "Player.h"
#include <string>
#include <map>

#pragma once

class GameInfo
{
private:
	int total_states;
	int current_state_index;
	int day;
	int day_limit;
	static std::string state_names[5];
	Player* current_player;
	State states[5];
	std::map < std::string, float > set_market;

public:
	GameInfo(void);

	void init_player(std::string);
	void init_market();
	void init_states(); 
	void next_day();

	std::string set_current_state_index(int);
 
	State* get_state_current();
	State* get_state_index(int);

	int get_total_states(){ return total_states; };
	int get_day(){ return day; };
	int get_day_limit() { return day_limit; };
	void set_day_limit(int);

	Player* get_current_player(){ return current_player; };

	~GameInfo(void);
};

